//
//  Comments.m
//  Mecca
//
//  Created by TH-MAC02 on 8/5/14.
//  Copyright (c) 2014 TapDash Heuristics. All rights reserved.
//

#import "Comments.h"

@implementation Comments

- (NSString*)name{

    return _nameStr;
}

- (NSString*)comment{

    return _commentStr;
}

- (NSString*)img{

    return _imgStr;
}

//<<<<<<< .mine
- (NSString*)date{
    
    return _dateStr;
    
}
//=======
- (NSString*)time{
    
    return _timeStr;
}
//>>>>>>> .r191


//<<<<<<< .mine
//+ (instancetype)commentWithName:(NSString*)name andComment:(NSString*)comment andImg:(NSString*)img andDate:(NSString *)date{

//=======
+ (instancetype)commentWithName:(NSString*)name andComment:(NSString*)comment andImg:(NSString*)img andTime:(NSString *)time{

//>>>>>>> .r191
    Comments *comments = [[self alloc] init];
    
    comments.nameStr = name;
    comments.commentStr = comment;
    comments.imgStr = img;
//<<<<<<< .mine
    //comments.dateStr = date;
//=======
    comments.timeStr = time;
//>>>>>>> .r191
    
    return comments;

}

@end
